rcar_gen3: plat: Staticize memory maps
authorMarek Vasut <[email protected]>
Sun, 30 Dec 2018 16:19:03 +0000 (17:19 +0100)
committerMarek Vasut <[email protected]>
Tue, 8 Jan 2019 13:08:44 +0000 (14:08 +0100)
Staticize the platform memory map tables as they are only used within
the platform_common.c file.

Signed-off-by: Marek Vasut <[email protected]>
plat/renesas/rcar/aarch64/platform_common.c

index 647a562ce1878169110ba2762776057793b32119..b0a88cb6b191289d2054639b5a22e43f20c2c9a5 100644 (file)
@@ -102,7 +102,7 @@ const uint8_t version_of_renesas[VERSION_OF_RENESAS_MAXLEN]
 #endif
 
 #if IMAGE_BL2
-const mmap_region_t rcar_mmap[] = {
+static const mmap_region_t rcar_mmap[] = {
        MAP_FLASH0,     /*   0x08000000 -   0x0BFFFFFF  RPC area            */
        MAP_DRAM0,      /*   0x40000000 -   0xBFFFFFFF  DRAM area(Legacy)   */
        MAP_REG0,       /*   0xE6000000 -   0xE62FFFFF  SoC register area   */
@@ -116,7 +116,7 @@ const mmap_region_t rcar_mmap[] = {
 #endif
 
 #if IMAGE_BL31
-const mmap_region_t rcar_mmap[] = {
+static const mmap_region_t rcar_mmap[] = {
        MAP_SHARED_RAM,
        MAP_ATFW_CRASH,
        MAP_ATFW_LOG,
@@ -129,7 +129,7 @@ const mmap_region_t rcar_mmap[] = {
 #endif
 
 #if IMAGE_BL32
-const mmap_region_t rcar_mmap[] = {
+static const mmap_region_t rcar_mmap[] = {
        MAP_DEVICE0,
        MAP_DEVICE1,
        {0}